package com.ltcode.sys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 管理端服务启动类
 * 
 * @author ltcode
 * @since 2024-01-01
 */
@SpringBootApplication(scanBasePackages = "com.ltcode.sys")
@MapperScan("com.ltcode.sys.infrastructure.persistence.mapper")
@EnableFeignClients(basePackages = "com.ltcode.sys")
public class LtCodeSysApplication {
    
    public static void main(String[] args) {
        {
            SpringApplication.run(LtCodeSysApplication.class, args);
            System.out.println("(✧ω✧)ﾉﾞ  管理系统服务启动成功   ヽ(•̀ω•́ )ゝ\n" +
                    " .----------------.       _____       \n" +
                    " |  LTCODE  _   \\     / ____|      \n" +
                    " | ( '_'  ) (_)  |    | (___   ___  \n" +
                    " | |< _ >|  _   /     \\___ \\ / _ \\ \n" +
                    " | |(_'_)|| | | |     ____) |  __/ \n" +
                    " |  \\___/ |_| |_|    |_____/ \\___| \n" +
                    " |                |                 \n" +
                    " '----------------'                 ");
        }
    }
}
